package com.wocai.jrt.orgadmin.investor.service.impl;

import javax.inject.Inject;
import javax.inject.Named;

import com.wocai.jrt.orgadmin.investor.dao.InvestorGroupProductDao;
import com.wocai.jrt.orgadmin.investor.model.InvestorGroupProduct;
import com.wocai.jrt.orgadmin.investor.model.InvestorGroupProductBean;
import com.wocai.jrt.orgadmin.investor.service.spi.InvestorGroupProductService;

import com.vteba.service.generic.impl.MyBatisServiceImpl;
import com.vteba.tx.jdbc.mybatis.spi.BaseDao;

/**
 * 投资组别产品相关的service业务实现。
 * @author yinlei
 * @date 2015-12-4 9:18:56
 */
@Named
public class InvestorGroupProductServiceImpl extends MyBatisServiceImpl<InvestorGroupProduct, InvestorGroupProductBean, String> implements InvestorGroupProductService {
	// 添加了方法后，记得改为private
	protected InvestorGroupProductDao investorGroupProductDao;
	
	@Override
	@Inject
	public void setBaseDao(BaseDao<InvestorGroupProduct, InvestorGroupProductBean, String> investorGroupProductDao) {
		this.baseDao = investorGroupProductDao;
		this.investorGroupProductDao = (InvestorGroupProductDao) investorGroupProductDao;
	}
}
